import service from '@/utils/request'

export function deleteCourse() {
}


//获取该教师所属课程
export const courseManageListService= ()=>{
    return service.get('/course')
}

export const addCourse= ()=>{
    return service.get('/course/add')
}

// 获取学生所属的所有课程
export const getStudentCourseList = () => {
    return service.get('/course/S-course')
}

// 如果需要分页，可以添加分页参数
export const getStudentCourseListWithPaging = (params) => {
    return service.get('/course/student/list', { params })
}